package com.link.wseller.enums;

import lombok.Getter;

@Getter
public enum SellNum {

    PRODUCT_NOT_EXIST(10, "商品不存在"),
    PRODUCT_STOCK_ERROR(11, "商品库存不正确");

    private int code;
    private String msg;

    SellNum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

}